Current Location: Home> Function Categories> is_nan

is_nan

Determine whether it is a legal value
Name:is_nan
Category:math
Programming Language:php
One-line Description:Determine whether it is a legal value.

Definition and usage

is_nan() determines whether it is a legal value.

Example

 <?php
echo is_nan ( 200 ) ;
echo is_nan ( acos ( 1.01 ) ) ;
?>

Try it yourself

grammar

 is_nan ( x )
parameter describe
x Required. Specify the value to be checked.

illustrate

If x is "non-numeric", such as the result of acos(1.01), returns true.

Similar Functions
Popular Articles